package user

import (
	"gitee.com/krio/grpc-go-server/dao/model"
	"gitee.com/krio/grpc-go-server/dao/model/common"
)

func (*UserEducation) TableName() string {
	return model.TableUserEducation
}

type UserEducation struct {
	*common.AutoincrID `xorm:"extends"`
	UserId             int32  `xorm:"not null comment('关联ID（customer_login）')"`
	CurrentUniversity  string `xorm:"varchar(255) comment('CurrentUniversity')"`
	UpcomingSchool     string `xorm:"varchar(255) comment('UpcomingSchool')"`
	Grade              string `xorm:"varchar(255) comment('Grade')"`
	Other              string `xorm:"varchar(255) comment('Other')"`
	*common.CommonAT   `xorm:"extends"`
}
